package com.ziru.ziru.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ziru.ziru.dao.RoomsDao;
import com.ziru.ziru.pojo.RoomTitle;
import com.ziru.ziru.pojo.Rooms;
import com.ziru.ziru.service.RoomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 缘友一世
 * date 2023/5/28-8:53
 */
@Service
public class RoomServiceImpl extends ServiceImpl<RoomsDao, Rooms> implements RoomService
{

    @Autowired
    RoomsDao roomsDao;
    @Override
    public List<Rooms> queryAll(String rule,String tj) {
        return roomsDao.queryAll(rule,tj);
    }

}
